<?php

interface Application_Model_serviceInf_SanPhamServiceInf {
	public function taoSanPham($tenSanPham,$maSanPham,$idDanhMuc,$giaGoc,$giaBan,$moTa,$chucNang,$chucNangKhac,$anh,$tinhTrang);
	public function loadSanPham($id);
	/**
	 * @param int $id
	 * @return boolean
	 */
	public function xoaSanPham($id);
	/**
	 * @return array Application_Model_bean_SanPham
	 */
	public function getListSanPham($limit,$page,$tenSanPham,$maDanhMuc,$giaBan,$maChucNang);
	
	/**
	 * @return num of page from getListSanPham function
	 */
	public function pages($limit,$page,$tenSanPham,$maDanhMuc,$giaBan,$maChucNang);
	
	
	public function updateThongTinChung($id,$tenSanPham ,$idDanhMuc,$moTa,$tinhTrang);
}

?>